﻿#region Usings

using FluentValidation;
using Yandex.Market.Api.Model;

#endregion

namespace Yandex.Market.Api.Validation
{
    internal class OfferTourValidator : OfferBaseValidator<OfferTour>
    {
        public OfferTourValidator()
        {
            RuleFor(offer => offer.Name).NotEmpty();
            RuleFor(offer => offer.Days).NotEmpty();
            RuleFor(offer => offer.Included).NotEmpty();
            RuleFor(offer => offer.Transport).NotEmpty();
        }
    }
}